package com.hnhs.service;

import com.hnhs.mapper.CategoryProductMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CategoryProductService {
    @Autowired
   private CategoryProductMapper mapper;


    public int categoryCount(){
        return mapper.categoryCount();
    }
    //今日新增数量

    public int categoryTodayCount(){
        return mapper.categoryTodayCount();
    }
    //查询商品总条数
      public int productCount(){
        return mapper.productCount();
      }

    public int productTodayCount(){
        return mapper.productTodayCount();
    }

}
